//
//  DDAgreeViewController.m
//  LYJR_XDD
//
//  Created by 肖棟棟 on 16/8/6.
//  Copyright © 2016年 肖棟棟. All rights reserved.
//

#import "DDAgreeViewController.h"

@interface DDAgreeViewController ()


@end

@implementation DDAgreeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.view.backgroundColor = DDBgColor;
    self.title = @"用户服务协议";
    UILabel * lb =[[UILabel alloc] init];
    lb.userInteractionEnabled =
    lb.text= @"请准守这些规定";
    lb.textAlignment = NSTextAlignmentCenter;
    lb.font =[UIFont systemFontOfSize:24];
    lb.textColor = [UIColor colorWithHexColor:@"#A7ABB4"];
    [self.view addSubview:lb];
    lb.frame = self.view.bounds;
    
    [self setNavButton];
    
}


-(void)setNavButton{
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"Group 51"] style:UIBarButtonItemStylePlain target:self action:@selector(backBtnDidClick)];
}

-(void)backBtnDidClick{
    
    [self.navigationController popViewControllerAnimated:YES];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
